// 是否使用tabs
const useTabs = true;

// const baseUrl = "http://localhost:8090/static";
const baseUrl = "http://106.14.157.177:58560";



const dataGridIdNum = 0;
const menus = [
  {
    index: "/Home",
    text: "首页",
    icon: "menu_icon_1"
  },
  {
    index: "",
    text: "营养病例",
    icon: "menu_icon_3",
    children: [
      { index: "/yybl/patientlist",
        text: "患者列表"
      },{
        index: "/yybl/patientdoc",
        text: "患者档案"
      },{
        index: "/yybl/patientlive",
        text: "患者生命周期"
      },{
        index: "",
        text: "患者筛查",
        children: [
          {
            index: "/yybl/hzsc/brsccx",
            text: "病人筛查查询"
          },{
            index: "/yybl/hzsc/brsccx",
            text: "病人筛查新增(NSR)"
          },{
            index: "/yybl/hzsc/brsccx",
            text: "病人筛查新增(SGA)"
          },{
            index: "/yybl/hzsc/brsccx",
            text: "病人筛查新增(MNA)"
          },{
            index: "/yybl/hzsc/brsccx",
            text: "病人筛查新增(BCA)"
          },{
            index: "/yybl/hzsc/brsccx",
            text: "病人筛查新增(MUST)"
          },{
            index: "/yybl/hzsc/brsccx",
            text: "病人筛查新增(PGSGA)"
          },{
            index: "/yybl/hzsc/brsccx",
            text: "病人筛查新增(STAMP)"
          }
        ]
      },
      {
        index: "",
        text: "营养诊断",
        children: [
          {
            index: "/yybl/yyzd/yyhz",
            text: "营养会诊"
          },{
            index: "/yybl/yyzd/hzjl",
            text: "会诊记录"
          },{
            index: "/yybl/yyzd/yyzd",
            text: "营养诊断"
          }
        ]
      },
      {
        index: "",
        text: "营养评估",
        children: [
          {
            index: "/yybl/yypg/xzzhpg",
            text: "新增综合评估"
          },{
            index: "/yybl/yypg/xztzpg",
            text: "新增体征评估"
          },{
            index: "/yybl/yypg/xzshpg",
            text: "新增生化评估"
          },{
            index: "/yybl/yypg/xzsspg",
            text: "新增膳食评估"
          },{
            index: "/yybl/yypg/yypg",
            text: "营养评估"
          }
        ]
      },
      {
        index: "",
        text: "营养支持",
        children: [
          {
            index: "",
            text: "营养处方",
            children: [
              {
                index: "/yybl/yyzc/yycf/xzyycf",
                text: "新增营养处方"
              }
            ]
          },
          {
            index: "",
            text: "治疗膳食",
            children: [
              {
                index: "/yybl/yyzc/zlss/xzzlss",
                text: "新增治疗膳食"
              },
              {
                index: "/yybl/yyzc/zlss/spdz",
                text: "食谱定制"
              }
            ]
          },
          {
            index: "",
            text: "肠内营养",
            children: [
              {
                index: "/yybl/yyzc/cnyy/xzcnyy",
                text: "新增肠内营养"
              }
            ]
          },
          {
            index: "",
            text: "肠外营养",
            children: [
              {
                index: "/yybl/yyzc/cwyy/xzcwyy",
                text: "新增肠外营养"
              }
            ]
          }
        ]
      },
      {
        index: "",
        text: "营养监测",
        children: [
          {
            index: "/yybl/yyjc/yzjc",
            text: "医嘱监测"
          },
          {
            index: "/yybl/yyjc/yyzb",
            text: "营养指标"
          },
          {
            index: "/yybl/yyjc/tjzb",
            text: "体检指标"
          },
          {
            index: "/yybl/yyjc/shjc",
            text: "生化检查"
          },
        ]
      },
      {
        index: "",
        text: "营养病例",
        children: [
          {
            index: "/yybl/yybl/bc",
            text: "病程"
          },
          {
            index: "/yybl/yybl/yybl",
            text: "营养病例"
          }
        ]
      },
      {
        index: "",
        text: "营养宣教",
        children: [
          {
            index: "",
            text: "营养宣教"
          }
        ]
      }
    ]
  },
  {
    index: "",
    text: "肠内管理",
    icon: "menu_icon_4",
    children: [
      {
        index: "/cngl/cnpz",
        text: "肠内配置"
      },
      {
        index: "/cngl/cnbq",
        text: "肠内标签"
      },
      {
        index: "/cngl/yyyqs",
        text: "营养液签收"
      }, {
        index: "/cngl/yyzlcf",
        text: "营养资料查房"
      }, {
        index: "/cngl/cntj",
        text: "肠内统计"
      }, {
        index: "/cngl/plzxyz",
        text: "批量执行医嘱"
      }
    ]
  },
  {
    index: "",
    text: "肠外管理",
    icon: "menu_icon_5"
  },
  {
    index: "",
    text: "绩效管理",
    icon: "menu_icon_6",
    children: [
      {
        index: "/privilege/ToMenus",
        text: "工作量统计图"
      },
      {
        index: "/privilege/ToRoles",
        text: "工作量统计表"
      }
    ]
  },
  {
    index: "",
    text: "系统管理",
    icon: "menu_icon_7",
    children: [
      {
        index: "",
        text: "基础资料",
        children: [
          {
            index: "/security/Key",
            text: "食物库"
          },
          {
            index: "/security/Key",
            text: "肠内、外制剂类别"
          },
          {
            index: "/security/Key",
            text: "肠内肠外制剂"
          },
          {
            index: "/security/Key",
            text: "生化检查类别、指标"
          },
          {
            index: "/security/Key",
            text: "枚举项"
          },
          {
            index: "/security/Key",
            text: "营养宣教"
          }
        ]
      },
      {
        index: "/security/Key",
        text: "账号、角色、权限"
      },
      {
        index: "",
        text: "接口",
        children: [
          {
            index: "",
            text: "HIS"
          },
          {
            index: "",
            text: "LIS"
          },
          {
            index: "",
            text: "EMR"
          },
          {
            index: "",
            text: "营养门诊"
          }
        ]
      }
    ]
  }
];

export {
  useTabs, baseUrl, menus
}

